<?php
	$tool_buttons = array
	(
		'list_button' => array
		(
			'image'=>'btnListLarge.gif', 
			'text'=>LANG_LIST, 
			'url'=>'/'.$this->name.'/index/'
		),
	);
	
	if ($this->data[$this->name][row_id] != '' && $this->data[$this->name]['row_id'] != 0)
	{
    	$tool_buttons['view_button'] =  array
		(
			'image'=>'btnListLarge.gif', 
			'text'=>LANG_VIEW_RECORD, 
			'url'=>'/'.$this->data[$this->name]['model_name'].'/view/'.$this->data[$this->name]['row_id']
		);	    
	}

    //header
	$this->helpers->htmlx->MenuText1(LANG_LOGS.': '.LANG_VIEW, "view.gif");
	
	//toolbar
	$this->helpers->toolbars->Toolbar($tool_buttons);
	
	echo "<table class = 'eva'>";
		 $this->helpers->htmlx->inputTextRow(LANG_ACTION, '', $this->data[$this->name][action_name], 'disabled="disabled"');
		 $this->helpers->htmlx->inputTextRow(LANG_LOGIN, '', $this->data[$this->name][user_login], 'disabled="disabled"');
		 $this->helpers->htmlx->inputTextRow(LANG_TABLE_NAME, '', Language::Get(str_replace('LANG_', '', $this->data[$this->name]['system_table_language_constant'])), 'disabled="disabled"');
		 $this->helpers->htmlx->inputTextRow(LANG_TABLE_COLUMN_NAME, '',  $this->data[$this->name][column_name], 'disabled="disabled"');
		 $this->helpers->htmlx->inputTextRow(LANG_DATETIME, '',  $this->data[$this->name][datetime], 'disabled="disabled"');
		 $this->helpers->htmlx->inputTextRow(LANG_ROW_ID, '',  $this->data[$this->name][row_id], 'disabled="disabled"');
		 $this->helpers->htmlx->textareaRow(LANG_OLD_VALUE, '', $this->data[$this->name][value_old], 'disabled="disabled"');
	 	 $this->helpers->htmlx->textareaRow(LANG_VALUE, '', $this->data[$this->name][value], 'disabled="disabled"');
	 	 $this->helpers->htmlx->textareaRow(LANG_COMMENT, '', $this->data[$this->name][comment], 'disabled="disabled"');
	echo "</table>";
?>